﻿// Section 1
var pt = (X: 1, Y: 2);
var slope = (double)pt.Y / (double)pt.X;
Console.WriteLine($"A line from the origin to the point {pt} has a slope of {slope}.");

// Section 2
pt.X += 5;
Console.WriteLine($"The point is now at {pt}.");

// Section 3
var pt2 = pt with { Y = 10 };
Console.WriteLine($"The point pt2 is at {pt2}.");

// Section 4
var subscript = (A: 0, B: 0);
subscript = pt;
Console.WriteLine(subscript);

// For example
Console.WriteLine("Hello!");
